

const state = {
    is_map_loading: false,
    scenes:{},
    qj_data:{},
    sw_data:{}
}
const mutations = {
    // 保存地图是否加载状态
    set_map_loading(state,flag){
        state.is_map_loading = flag;
    },
    set_scenes(state,data){
        state.scenes = data;
    },
    set_qj_data(state,data){
        state.qj_data = data;
    },
    set_sw_data(state,data){
        state.sw_data = data;
    },
}


export default {
  namespaced: true,
  state,
  mutations
}
